package com.ruoyi.yun.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警设置对象 yun_coufig_alarmconfig
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
public class YunCoufigAlarmconfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 报警代码 */
    @Excel(name = "报警代码")
    private String alarmCode;

    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alarmType;

    /** 报警来源 */
    @Excel(name = "报警来源")
    private String alarmSource;

    /** 启用报警 */
    @Excel(name = "启用报警")
    private String alarmStart;

    /** 自动处理 */
    @Excel(name = "自动处理")
    private String autoPro;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAlarmCode(String alarmCode) 
    {
        this.alarmCode = alarmCode;
    }

    public String getAlarmCode() 
    {
        return alarmCode;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setAlarmSource(String alarmSource) 
    {
        this.alarmSource = alarmSource;
    }

    public String getAlarmSource() 
    {
        return alarmSource;
    }
    public void setAlarmStart(String alarmStart) 
    {
        this.alarmStart = alarmStart;
    }

    public String getAlarmStart() 
    {
        return alarmStart;
    }
    public void setAutoPro(String autoPro) 
    {
        this.autoPro = autoPro;
    }

    public String getAutoPro() 
    {
        return autoPro;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("alarmCode", getAlarmCode())
            .append("alarmType", getAlarmType())
            .append("alarmSource", getAlarmSource())
            .append("alarmStart", getAlarmStart())
            .append("autoPro", getAutoPro())
            .toString();
    }
}
